<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<html>
<head>
	<title>Portal Floapp Contest</title>
	<link rel=STYLESHEET href="/FloappContest/css/floapp.css" type="text/css">
</head>
<body>
<f:view>
	<table border="0" align="left" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="1"><img src="/FloappContest/images/top.jpg" width="800" /></td>
		</tr>
		<tr>
			<td align="left" background="/FloappContest/images/menubar.jpg" height="30"><h:form>
				<t:jscookMenu layout="hbr" theme="ThemePanel">
					<t:navigationMenuItem id="item1" itemLabel="Cadastrar Tutor"
						action="#{menuBarRedirection.tutorSignUpPage}">
					</t:navigationMenuItem>
				</t:jscookMenu>
			</h:form></td>
		</tr>
		<tr>
			<td background="/FloappContest/images/back.jpg" height="500"
				align="center" valign="top">
			<table>
				<h:form>
					<tr>
						<td colspan="2"><h:outputText style="COLOR: #ff0000; FONT-SIZE: x-small; FONT-FAMILY: 'Verdana';"  value="#{logInHandler.errorMessage}" /></td>
					</tr>
					<tr>
						<td style="FONT-FAMILY: 'Verdana';">Nome: </td>
						<td><h:inputText value="#{logInHandler.user.login}" /></td>
					</tr>
					<tr>
						<td style="FONT-FAMILY: 'Verdana';">Password: </td>
						<td><h:inputSecret value="#{logInHandler.user.password}" /></td>
					</tr>
					<tr>
						<td colspan="2" align="right">
							<h:commandButton value="Limpar" type="reset" />
							<h:commandButton value="Login" action="#{logInHandler.logIn}" />
						</td>
					</tr>
				</h:form>
			</table>
			</td>
		</tr>
	</table>
</f:view>
</body>
</html>